package com.hsytech.baoinbao.gsondata;

import android.os.Parcelable;

import java.io.Serializable;
import java.util.List;

public class RecyclingManStockData {

    private String error;

    private String msg;

    private Result result;

    public void setError(String error) {
        this.error = error;
    }

    public String getError() {
        return this.error;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public Result getResult() {
        return this.result;
    }

    public static class Result {
        private Recycling_man recycling_man;

        private List<Storage> storage;

        public void setRecycling_man(Recycling_man recycling_man) {
            this.recycling_man = recycling_man;
        }

        public Recycling_man getRecycling_man() {
            return this.recycling_man;
        }

        public void setStorage(List<Storage> storage) {
            this.storage = storage;
        }

        public List<Storage> getStorage() {
            return this.storage;
        }
    }

    public static class Recycling_man {
        private String id;

        private String name;

        private String user_name;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getUser_name() {
            return this.user_name;
        }

    }

    public static class Storage {
        private String id;

        private String name;

        private List<Children> children;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setChildren(List<Children> children) {
            this.children = children;
        }

        public List<Children> getChildren() {
            return this.children;
        }

    }

    public static class Children {
        private String id;

        private String cat_parent_id;

        private String cat_id;

        private String recycling_man_id;

        private String price;

        private String stock;

        private String qty_stock;

        private String unit;

        private String is_check;

        private String modify_time;

        private String cat_name;

        private String p_cat_name;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }

        public void setCat_parent_id(String cat_parent_id) {
            this.cat_parent_id = cat_parent_id;
        }

        public String getCat_parent_id() {
            return this.cat_parent_id;
        }

        public void setCat_id(String cat_id) {
            this.cat_id = cat_id;
        }

        public String getCat_id() {
            return this.cat_id;
        }

        public void setRecycling_man_id(String recycling_man_id) {
            this.recycling_man_id = recycling_man_id;
        }

        public String getRecycling_man_id() {
            return this.recycling_man_id;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice() {
            return this.price;
        }

        public void setStock(String stock) {
            this.stock = stock;
        }

        public String getStock() {
            return this.stock;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getUnit() {
            return this.unit;
        }

        public void setIs_check(String is_check) {
            this.is_check = is_check;
        }

        public String getIs_check() {
            return this.is_check;
        }

        public void setModify_time(String modify_time) {
            this.modify_time = modify_time;
        }

        public String getModify_time() {
            return this.modify_time;
        }

        public void setCat_name(String cat_name) {
            this.cat_name = cat_name;
        }

        public String getCat_name() {
            return this.cat_name;
        }

        public void setP_cat_name(String p_cat_name) {
            this.p_cat_name = p_cat_name;
        }

        public String getP_cat_name() {
            return this.p_cat_name;
        }

        public String getQty_stock() {
            return qty_stock;
        }

        public void setQty_stock(String qty_stock) {
            this.qty_stock = qty_stock;
        }
    }
}